<!DOCTYPE html>
<html lang="">

<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width,initial-scale=1.0">
  <!-- 这里读取的是webpack的里的插件的配置标题 -->
  <!-- <title><%= htmlWebpackPlugin.options.title %></title> -->

  <title></title>
</head>

<body>
  <noscript>
    <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled.
        Please enable it to continue.</strong>
  </noscript>
  <div id="app">

    <style>
      .loading-animation {
        color: #fff;
        position: fixed;
        top: 50%;
        left: 50%;
        width: 400px;
        height: 150px;
        line-height: 150px;
        text-align: center;
        margin-top: -75px;
        margin-left: -200px;
        font-size: 70px;
        animation: loading 2s infinite cubic-bezier(0.37, 0.19, 0.17, 1.66) 0.5s;
      }

      @keyframes loading {
        0% {
          color: #fff;
          transform: scale(1);
        }

        40% {
          color: #aeffae;
        }

        100% {
          color: #aeefff;
          transform: scale(1.1);
        }
      }
    </style>
    <!-- 减少首页白屏时间 -->
    <div class="loading-animation">
      loading...
    </div>
  </div>
  <!-- ref cdn -->
  <!-- node模板代码, 判断是否是生产环境 -->
  <% if (NODE_ENV==="production" ) { %>
    <!-- 选用min.js是因为体积小且兼容性更好 -->
    <!-- 在开发环境不需要使用以下代码[不便于调试] -->
    <!-- 以下为传统cdn引用方式 -->
    <!-- my1 -->
    <!-- <script src="https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/vue/2.6.1/vue.min.js"></script>
    <script src="https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/vuex/3.6.2/vuex.min.js"></script>
    <script src="https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/vue-router/3.5.0/vue-router.min.js"></script>
    <script src="https://lf26-cdn-tos.bytecdntp.com/cdn/expire-1-M/axios/0.26.0/axios.min.js"></script> -->

    <!-- my2 -->
    <script src="https://lf26-cdn-tos.bytecdntp.com/cdn/expire-1-M/vue/2.6.12/vue.runtime.min.js"></script>
    <!-- <script src="https://lf6-cdn-tos.bytecdntp.com/cdn/expire-1-M/vue/2.6.1/vue.min.js"></script> -->
    <script src="https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/vuex/3.5.1/vuex.min.js"></script>
    <script src="https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/vue-router/3.4.9/vue-router.min.js"></script>
    <!-- <script src="https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/vue-router/3.4.7/vue-router.min.js"></script> -->
    <script src="https://lf9-cdn-tos.bytecdntp.com/cdn/expire-1-M/axios/0.21.0/axios.min.js"></script>


    <!-- <script src="https://cdn.bootcdn.net/ajax/libs/vue/2.6.12/vue.min.js"></script>
    <script src="https://cdn.bootcdn.net/ajax/libs/vuex/3.5.1/vuex.min.js"></script>
    <script src="https://cdn.bootcdn.net/ajax/libs/vue-router/3.4.7/vue-router.min.js"></script>
    <script src="https://cdn.bootcdn.net/ajax/libs/axios/0.21.0/axios.min.js"></script> -->
    <!-- 因为vue和vuex是作为插件存在的, 所以如果用传统方式引用[会污染全局变量]后需要修改部分代码 -->
    <% } %>
      <!-- built files will be auto injected -->
</body>

</html>